package com.housediyadmin.command.brandCommand
{
	import com.housediyadmin.events.brandEvents.EditBrandEvent;
	import com.housediyadmin.service.BrandRemoteObjectService;
	
	import org.robotlegs.mvcs.Command;
		
	/**
	 * 
	 * @author yanghanbing
	 * 2010/12/15
	 */	
	public class EditBrandCommand extends Command
	{
		[Inject]
		public var service:BrandRemoteObjectService;
		
		[Inject]
		public var event:EditBrandEvent;
		
		override public function execute():void
		{
			service.editBrand(event.brand);
		}
	}
}